package cn.bdqn.t354.mapper;

import cn.bdqn.t354.pojo.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

public interface RoleMapper extends BaseMapper<Role> {
    /**
     * 根据用户编号，查询角色信息
     * @param usrId
     * @return
     */
    public Role getRoleByUsrId(@Param("usrId") Long usrId);
}
